﻿using WeDonekRpc.Helper.Validate;

namespace Base.FileStoreGatewayModular.Model.Pdf
{
    public class PdfUpArg
    {
        [NumValidate("file.id.error", 1)]
        public long FileId { get; set; }

        public long? LinkBizPk { get; set; }

        [NullValidate("file.dir.key.null")]
        [LenValidate("file.dir.key.len", 1, 50)]
        [FormatValidate("file.dir.key.error", ValidateFormat.数字字母)]
        public string DirKey { get; set; }

        public string Tag { get; set; }
    }
}
